package com.shop.mapper;

import com.shop.entity.Shop;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShopMapper {
    Shop findById(Long id);
    
    Shop findByUserId(Long userId);
    
    void insert(Shop shop);
    
    void update(Shop shop);
    
    void delete(Long id);
} 